package com.spatio.serving.basic.service.template.common.domain;

import java.math.BigInteger;
import java.time.LocalDate;

public class MealStaticsDo {
    private BigInteger userId;
    private LocalDate date;
    private double target_calories;
    private double total_calories=0;
    private double total_proteins=0;
    private double total_fats=0;
    private double total_carbs=0;


    public MealStaticsDo() {
    }

    public MealStaticsDo(BigInteger userId, LocalDate date, double target_calories, double total_calories, double total_proteins, double total_fats, double total_carbs) {
        this.userId = userId;
        this.date = date;
        this.target_calories = target_calories;
        this.total_calories = total_calories;
        this.total_proteins = total_proteins;
        this.total_fats = total_fats;
        this.total_carbs = total_carbs;
    }

    /**
     * 获取
     * @return userId
     */
    public BigInteger getUserId() {
        return userId;
    }

    /**
     * 设置
     * @param userId
     */
    public void setUserId(BigInteger userId) {
        this.userId = userId;
    }

    /**
     * 获取
     * @return date
     */
    public LocalDate getDate() {
        return date;
    }

    /**
     * 设置
     * @param date
     */
    public void setDate(LocalDate date) {
        this.date = date;
    }

    /**
     * 获取
     * @return target_calories
     */
    public double getTarget_calories() {
        return target_calories;
    }

    /**
     * 设置
     * @param target_calories
     */
    public void setTarget_calories(double target_calories) {
        this.target_calories = target_calories;
    }

    /**
     * 获取
     * @return total_calories
     */
    public double getTotal_calories() {
        return total_calories;
    }

    /**
     * 设置
     * @param total_calories
     */
    public void setTotal_calories(double total_calories) {
        this.total_calories = total_calories;
    }

    /**
     * 获取
     * @return total_proteins
     */
    public double getTotal_proteins() {
        return total_proteins;
    }

    /**
     * 设置
     * @param total_proteins
     */
    public void setTotal_proteins(double total_proteins) {
        this.total_proteins = total_proteins;
    }

    /**
     * 获取
     * @return total_fats
     */
    public double getTotal_fats() {
        return total_fats;
    }

    /**
     * 设置
     * @param total_fats
     */
    public void setTotal_fats(double total_fats) {
        this.total_fats = total_fats;
    }

    /**
     * 获取
     * @return total_carbs
     */
    public double getTotal_carbs() {
        return total_carbs;
    }

    /**
     * 设置
     * @param total_carbs
     */
    public void setTotal_carbs(double total_carbs) {
        this.total_carbs = total_carbs;
    }

    public String toString() {
        return "MealStaticsDo{userId = " + userId + ", date = " + date + ", target_calories = " + target_calories + ", total_calories = " + total_calories + ", total_proteins = " + total_proteins + ", total_fats = " + total_fats + ", total_carbs = " + total_carbs + "}";
    }
}
